

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ImageDownloadDelegate.h"

@interface ImageDownloader : NSObject 
{
	NSMutableData*	_oResult;
	id <ImageDownloaderDelegate> _ImageDownloaderDelegate;
	NSString*			_sURL;
	
    NSURLConnection* _Connection;
	BOOL			_bCanceled;
}

- (void)getImageFromURL:(NSString*)imageURL delegate:(id <ImageDownloaderDelegate>)delegate;
- (void)cancel;
- (BOOL)canceled;


@property (nonatomic, retain) NSURLConnection *_Connection;
@property (nonatomic, retain) NSString* _sURL;



@end
